import { Context } from 'koa'
import db from '../utils/database'

class UserController {
  async getUserInfo (ctx: Context) {
    await db.executeQuery().then(res => {
      ctx.body = res
    })
  }
}

export default new UserController()
